package be.phl.layoutAdapter;

public class ItemProblemRow {

	private int Id;
	private int ScreeningItemId;
	private int ScreeningProblemId;
	private int ParentId;
	private String Name;
	private boolean HasValue;
	private boolean BranchEnd;
	private boolean Checked;
	private boolean Selected;
	private boolean SingleSelection;
	private int Node;

	public int getNode() {
		return Node;
	}

	public void setNode(int node) {
		Node = node;
	}

	public boolean isChecked() {
		return Checked;
	}

	public void setChecked(boolean checked) {
		Checked = checked;
	}

	public ItemProblemRow(int id, int screeningItemId, int parentId,
			String name, boolean hasValue, boolean checked, boolean singleSelection) {
		super();
		Id = id;
		ScreeningItemId = screeningItemId;
		ParentId = parentId;
		Name = name;
		HasValue = hasValue;
		Checked = checked;
		SingleSelection = singleSelection;
		Selected = false;
	}

	public ItemProblemRow(int id, int screeningItemId, int parentId,
			String name, boolean hasValue, boolean checked, int node) {
		super();
		Id = id;
		ScreeningItemId = screeningItemId;
		ParentId = parentId;
		Name = name;
		HasValue = hasValue;
		Checked = checked;
		Selected = false;
		Node = node;
	}

	public boolean isHasValue() {
		return HasValue;
	}

	public void setHasValue(boolean hasValue) {
		HasValue = hasValue;
	}

	public boolean isSelected() {
		return Selected;
	}

	public void setSelected(boolean selected) {
		Selected = selected;
	}

	public int getScreeningItemId() {
		return ScreeningItemId;
	}

	public void setScreeningItemId(int screeningItemId) {
		ScreeningItemId = screeningItemId;
	}

	public int getScreeningProblemId() {
		return ScreeningProblemId;
	}

	public void setScreeningProblemId(int screeningProblemId) {
		ScreeningProblemId = screeningProblemId;
	}

	public int getId() {
		return Id;
	}

	public void setId(int id) {
		Id = id;
	}

	public int getParentId() {
		return ParentId;
	}

	public void setParentId(int parentId) {
		ParentId = parentId;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public boolean isBranchEnd() {
		return BranchEnd;
	}

	public void setBranchEnd(boolean branchEnd) {
		BranchEnd = branchEnd;
	}

	public boolean isSingleSelection() {
		return SingleSelection;
	}

	public void setSingleSelection(boolean singleSelection) {
		SingleSelection = singleSelection;
	}

	@Override
	public String toString() {
		return Name;
	}
}
